#ifndef _TRANSFER_NETWORK_H_
#define _TRANSFER_NETWORK_H_

#include "transfer_base.h"
#include "client_sock.h"
#include <list>
class CTransferNetwork:public CTransferBase
{
public:
	 CTransferNetwork();
	~CTransferNetwork();
	virtual int Open(const char* dev_name, int parm1, int parm2);
	virtual void Close();
	virtual int ReadData(unsigned char* data, int buf_sz);
	virtual int SendData(unsigned char* data, int buf_sz);
	virtual void SetDebugMod(int mode);
protected:
	int			 m_net_type;
	int			 m_port;
	CClientSock* m_pClient;
	bool         m_bLog;
};
#endif
